export default {
    myMovieList(state) {
        return state.movieList.filter(item => {
            return item.name.length > 3 && item.name.length < 7
        })
    },
    yourMovieList(state) {
        return ({ start, end }) => {
            return state.movieList.filter(item => {
                return item.name.length >= start && item.name.length <= end
            })
        }

    }
}